package com.cheyunkeji.er.http;

import com.cheyun.netsalev3.utils.api.GlobalConfig;

import javax.microedition.khronos.opengles.GL;

/**
 * Created by Michael on 2017/4/10 10:02.
 */
public class HttpConstants {

    /**
     * 请求连接超时时间 产品需求:15s
     */
    public static final long CONN_TIMEOUT = 15 * 1000;
    /**
     * 响应超时时间
     */
    public static final long READ_TIMEOUT = 15 * 1000;
    /**
     * 写操作超时时间
     */
    public static final long WRITE_TIMEOUT = 15 * 1000;


////    正式包名
//    public static final String PackageName = "com.cheyunkeji.er";
////    友盟正式KEY
//     public static final String UmengAppKey = "5b5190dbf29d9855a70000df";
////    微信正式APPID
//     public static final String WeixinAppId = "wx9c53b5ba74d7f9e6";
////    微信正式AppSecret
//     public static final String WeixinAppSecret = "b56e2daae2d805a4377c0e868d7b4c7a";


    private static final String MOBILE_API_ROOT = GlobalConfig.API_SERVER_URL;

//    //    测试包名
//    public static final String PackageName = GlobalConfig.ER_PackageName;//"com.cheyunkeji.er.test";
//    //    友盟测试KEY
//    public static final String UmengAppKey = GlobalConfig.ER_UmengAppKey;//"5cb6bccb570df3b0120000ea";
////    微信测试APPID
//     public static final String WeixinAppId = GlobalConfig.ER_WeixinAppId;//"wx5e4ad40f1141df14";
////    微信测试AppSecret
//     public static final String WeixinAppSecret = GlobalConfig.ER_WeixinAppSecret;//"580b4e5f0c10c0b3e32693f5ea1a9a43";

    private static final String MODULE_INFACE = "inface";

    private static final String MODULE_CHANNEL = "p/channel";

    private static final String MODULE_PRE_SELECT_CHANNEL = "p/CsChannel";

    private static final String MOBILE_API_DOMAIN = MOBILE_API_ROOT + MODULE_INFACE;

    private static final String MOBILE_API_CHANNEL = MOBILE_API_ROOT + MODULE_CHANNEL;

    private static final String MOILE_API_UN_SELECT_LINK = MOBILE_API_ROOT + MODULE_PRE_SELECT_CHANNEL;

//    private static final String MOBILE_API_DOMAIN = "http://er.new4s.com/inface";

    //是否有二手车权限
    public static final String ER_PERMISSIONS = MOBILE_API_DOMAIN + "/permissions";
    //    用户注册
    public static final String USER_REGISTER = MOBILE_API_DOMAIN + "/register";
    //    用户登录
    public static final String USER_LOGIN = MOBILE_API_DOMAIN + "/login";
    //    用户登录token
    public static final String USER_TOKEN_LOGIN = MOBILE_API_ROOT + "/api/mobile/v8.0/login";
    //     车300品牌信息
    public static final String CAR_300_BRAND_LIST = MOBILE_API_DOMAIN + "/getC3BrandList";
    //     车300车系信息
    public static final String CAR_300_SERIES_LIST = MOBILE_API_DOMAIN + "/getC3SeriesList";
    //      车300车型信息
    public static final String CAR_300_MODELS_LIST = MOBILE_API_DOMAIN + "/getC3ModelList";

    //      车300城市列表信息
    public static final String CAR300_CITY_LIST = MOBILE_API_DOMAIN + "/getC3CityList";
    //      获取车300估值信息
    public static final String CAR_300_GET_EVALUATE_INFO = MOBILE_API_DOMAIN + "/getC3PriceList";
    //      快速估价-记录列表
    public static final String FAST_EVALUATE_RECORD_LIST = MOBILE_API_DOMAIN + "/getRapidList";
    //      预估-记录列表
    public static final String FAST_PREV_EVALUATE_RECORD_LIST = MOBILE_API_DOMAIN + "/getBeforeRapidList";
    //      阿里云行驶证扫描接口
    public static final String DRIVE_LICENSE_SCAN_INFO_ALIYUN = "http://dm-53.data.aliyun.com/rest/160601/ocr/ocr_vehicle.json";
    //      百度云行驶证扫描接口
    public static final String DRIVE_LICENSE_SCAN_INFO_BAIDU = "https://aip.baidubce.com/rest/2.0/ocr/v1/vehicle_license";

    //      阿里云行驶证扫描接口AppCode
    public static final String DRIVE_LICENSE_SCAN_INTERFACE_APPCODE = "15916571d4d94b4186d841c3ff2f14bd";

//    //    阿里云OSS 图片存储bucket
    public static final String ALIYUN_OSS_BUCKET = GlobalConfig.ALIYUN_OSS_BUCKET;

    //    阿里云OSS 图片存储accessKeyId
    public static final String OSS_ACCESS_KEYID = GlobalConfig.OSS_ACCESS_KEYID;

    //    阿里云OSS 图片存储accessKeySecret
    public static final String OSS_ACCESS_KEY_SECRET = GlobalConfig.OSS_ACCESS_KEY_SECRET;

    //    阿里云OSS 图片存储endPoint
    public static final String OSS_END_POINT = GlobalConfig.OSS_END_POINT;

    //    阿里云OSS 图片存储bucket
//    public static final String ALIYUN_OSS_BUCKET = "cheyun-center";
//
//    //    阿里云OSS 图片存储accessKeyId
//    public static final String OSS_ACCESS_KEYID = "LTAI5tRTmea7EAUU6f2bVG7L";
//
//    //    阿里云OSS 图片存储accessKeySecret
//    public static final String OSS_ACCESS_KEY_SECRET = "WqEKEyDMAPyatnlFmRfg6cD9O77jZX";
//
//    //    阿里云OSS 图片存储endPoint
//    public static final String OSS_END_POINT = "http://oss-cn-hangzhou.aliyuncs.com";


    //    快速估价-添加
    public static final String FAST_EVALUATE_ADD = MOBILE_API_DOMAIN + "/insertRapidInfo";

    //    预估-添加
    public static final String FAST_EVALUATE_PREV_ADD = MOBILE_API_DOMAIN + "/insertBeforeRapidInfo";

    //    快速估价-推送至全面评估
    public static final String FAST_EVALUATE_PUSH_TO_ENTIRE_EVALUATE = MOBILE_API_DOMAIN + "/setRapidToArchive";

    //     快速估价-同步建立销售商机
    public static final String SYNCHRONIZE_BUILD_SJ = MOBILE_API_DOMAIN + "/pushSales3Info";

    //      快速估价-请求打印评估报告
    public static final String PRINT_EVALUATE_REPORT = MOBILE_API_DOMAIN + "/pushPrintInfo";
    //      快速估价- 推送至评估师
    public static final String FAST_EVALUATE_PUSHLIST = MOBILE_API_DOMAIN + "/getArchiveMemberList";
    //      全面评估请求打印
    public static final String PRINT_ARCHIVE_EVALUATE_REPORT = MOBILE_API_DOMAIN + "/pushArchivePrint";
//    快速估价 – 短信推送全面评估

    public static final String FAST_EVALUATE_PUSHLIST_SMS = MOBILE_API_DOMAIN + "/setRapidToArchive";
    //    快速估价 – 删除
    public static final String FAST_EVALUATE_DELETE_RECORD = MOBILE_API_DOMAIN + "/delRapidInfo";

    //    评估 – 列表
    public static final String EVALUATE_ARCHIVE_LIST = MOBILE_API_DOMAIN + "/getArchiveList";

    //    消息公告 - 列表
    public static final String EVALUATE_NOMAIL_LIST = MOBILE_API_DOMAIN + "/getNomailList";

    //    消息公告 - 详情
    public static final String EVALUATE_NOMAIL_INFO = MOBILE_API_DOMAIN + "/getNomailInfo";

    //     获取临时信息列表
    public static final String GET_TEMP_INFO_LIST = MOBILE_API_DOMAIN + "/getTempAttrList";

//    //    获取待评估车辆列表    未选择车商（authkey、ckey未获取时临时接口）
//    public static final String EVALUATE_GET_BEFORE_ARCHIVE_LIST = MOBILE_API_DOMAIN + "/getBeforeArchiveList";

    //    评估列表 5.28
    public static final String EVALUATE_CAR_LIST = MOBILE_API_DOMAIN + "/getArchiveList";

    //    获取车辆品牌列表
    public static final String GET_CAR_BRAND_LIST = MOBILE_API_DOMAIN + "/getBrandTypeList";

    //     获取基础信息列表
    public static final String GET_CAR_BASIC_INFO = MOBILE_API_DOMAIN + "/getAttrList";
    //
    public static final String ARCHIVE_CUSTOMER_LIST = MOBILE_API_CHANNEL + "/getCustomerList";

    //    添加客户档案
    public static final String ADD_CUSTOMER_ARCHIVE = MOBILE_API_CHANNEL + "/insertCustomerInfo";
    //    修改客户信息
    public static final String UPDATE_CUSTOMER_ARCHIVE_INFO = MOBILE_API_CHANNEL + "/getCustomerSave";
    //    车辆档案列表
    public static final String ARCHIVE_CAR_LIST = MOBILE_API_CHANNEL + "/carlist";

    //    获取/修改车辆档案信息
    public static final String GET_OR_UPDATE_CAR_ARCHIVE = MOBILE_API_CHANNEL + "/carupdate";

    //    添加车辆档案
    public static final String INSERT_VEHICLE_INFO = MOBILE_API_CHANNEL + "/insertVehicleInfo";

    //    根据VIN查询车辆信息
    public static final String GET_CAR_INFO_LIST_BY_VIN = MOBILE_API_CHANNEL + "/getCarApiDataForVin";

    //    根据order_id，获取车辆数据
    public static final String GET_VEHICLE_DATA_FOR_ORDER_ID = MOBILE_API_CHANNEL + "/getVehicleDataForOrderId";

    //    添加车辆对应字段说明
    public static final String CAR_TEMP_ATTR_LIST = MOBILE_API_DOMAIN + "/getTempAttrList";

    //     添加车辆对应字段说明接口 field对应参数
    public static final String TEMP_ATTR_LIST_REQUEST_FILED = "sex,cu_category,cu_isowner,ar_isuse,au_state,ar_khxq,ar_pgfs,rf_state,bu_mstate,bu_cstate,ch_state,ch_ctype,ch_payment,iv_purchase,iv_state,iv_outway,nm_ntype,nm_from,nm_target";

    //    删除评估记录
    public static final String DELETE_EVALUATE_ITEM_BY_AID = MOBILE_API_DOMAIN + "/delArchiveInfo";

    //    上传评估记录
    public static final String UPLOAD_EVALUATE_ITEM_BY_AID = MOBILE_API_DOMAIN + "/uptoArchiveInfo";

    //     根据aid获取评估结果
    public static final String GET_EVALUATE_DETAIL_INFO = MOBILE_API_DOMAIN + "/getArchiveInfo";

    //    新建/修改评估结果
    public static final String INSERT_ARCHIVE_INFO = MOBILE_API_DOMAIN + "/insertArchiveInfo";

    //    车源城市列表
    public static final String GET_CAR_SOURCE_CITY_LIST = MOBILE_API_DOMAIN + "/getDistrictList";

    //    车源城市列表
    public static final String PRE_SELECT_CHANNLE_GET_CAR_SOURCE_CITY_LIST = MOILE_API_UN_SELECT_LINK + "/getDistrictList";

    //   基础信息列表字段说明
    public static final String BASIC_INFO_LIST = "bodystyle,busover,cyear,cylinders,door,drivetrain,emission,exteriorcolor,fueltype,insurer,interiorcolor,seats,speed,trans,verank,pscodeimg";

    //   获取基础信息列表
    public static final String GET_CAR_BASIC_INFO_LIST = MOBILE_API_DOMAIN + "/getAttrList";

    //   根据VIN码查询车辆信息
    public static final String GET_VEHICLE_INFO_BY_VIN = MOBILE_API_DOMAIN + "/getVehicleInfo";

    //  评估-上传
    public static final String UP_TO_ARCHIVE_INFO = MOBILE_API_DOMAIN + "/uptoArchiveInfo";

    //   竞拍列表
    public static final String AUCTION_LIST = MOBILE_API_DOMAIN + "/getAuctionList";

    //报价列表
    public static final String BAOJIA_LIST = MOBILE_API_DOMAIN + "/getReferenList";

    //    竞拍报价详情
    public static final String GET_AUCTION_INFO = MOBILE_API_DOMAIN + "/getAuctionInfo";

    //  询价报价详情
    public static final String GET_REFEREN_INFO = MOBILE_API_DOMAIN + "/getReferenInfo";

    //   评估-编辑
    public static final String UPDATE_ARCHIVE_INFO = MOBILE_API_DOMAIN + "/updateArchiveInfo";
    // 评估-待评估车辆
    public static final String BEFORE_ARCHIVE_LIST = MOBILE_API_DOMAIN + "/getBeforeArchiveList2";
    //   评估-接收待评估车辆
    public static final String RECEIVE_RAPID_FROM_ARCHIVE = MOBILE_API_DOMAIN + "/recThreadFromArchive";
    //   拍卖结果统计
    public static final String AUCTION_RESULT_STATISTICS = MOBILE_API_DOMAIN + "/getAuctionWinCount";
    //    合作商列表
    public static final String GET_CHANNEL_LIST = MOBILE_API_CHANNEL + "/ChannelList";

    public static final String SEARCH_CHANNEL = MOBILE_API_CHANNEL + "/searchChannel";

    //    通道和通道之间进行绑定
    public static final String BIND_CHANNEL = MOBILE_API_CHANNEL + "/channelapply";
    //    申请记录
    public static final String APPLY_RECORD_LIST = MOBILE_API_CHANNEL + "/ApplyList";

    //   拍卖-报价列表
    public static final String AUCTION_BAO_JIA_LIST = MOBILE_API_DOMAIN + "/getAuctionCallList";
    //   轮询详情
    public static final String GetAuctionRollback = MOBILE_API_DOMAIN + "/getAuctionRollback";

    //    询价-报价
    public static final String SET_REFERENCE_CALL_PRICE = MOBILE_API_DOMAIN + "/setReferenCallPrice";

    //    拍卖-报价
    public static final String SET_AUCTION_CALL_PRICE = MOBILE_API_DOMAIN + "/setAuctionCallPrice";

    //   个推-设置终端映射
    public static final String SET_GETUI_CLIENT = MOBILE_API_DOMAIN + "/setGetuiClient";

    //   个推-推送信息列表
    public static final String GETUI_NOTIFICATION_MSG_LIST = MOBILE_API_DOMAIN + "/getGetuiNoticeList";

    //   获取图片验证码
    public static final String REQUEST_GRAPHIC_VERIFY_CODE = MOBILE_API_DOMAIN + "/captcha";

    //    获取短信验证码
    public static final String REQUEST_MSG_VERIFY_CODE = MOBILE_API_DOMAIN + "/phverify";

    //    未选择通道 获取车辆品牌列表
    public static final String PRE_CHANNEL_SELECT_GET_CAR_BRAND_LIST = MOILE_API_UN_SELECT_LINK + "/getBrandTypeList";

    //    未选择通道 获取车商性质列表
    public static final String GET_SHOP_PROPERTY_PRE_SELECT_CHANNEL = MOILE_API_UN_SELECT_LINK + "/getTempAttrList";

    //    创建新通道
    public static final String APPLY_FOR_NEW_CHANNEL = MOILE_API_UN_SELECT_LINK + "/addchannel";

    //    申请加入新通道
    public static final String JOIN_NEW_ORGANIZATION = MOILE_API_UN_SELECT_LINK + "/joinchannel";

    //    车辆档案详情
    public static final String GET_VEHICLE_INFO = MOBILE_API_DOMAIN + "/getVehicleInfo2";

    //    忘记密码
    public static final String RESET_PSD = MOBILE_API_DOMAIN + "/forgot";

    //  我的通道列表
    public static final String GET_MY_CHANNEL_LIST = MOBILE_API_DOMAIN + "/getMyChannelList";

    //  获取车商信息
    public static final String GET_CAR_DEALER_INFO = MOBILE_API_CHANNEL + "/getCustomerdetails";

    public static final String GET_CAR_DEALER_INFO2 = MOILE_API_UN_SELECT_LINK + "/getCustomerdetails";

    //   修改车商信息
    public static final String MODIFY_CAR_DEALER_INFO = MOBILE_API_CHANNEL + "/getCustomerdetailssave";

    //    统计行驶证识别
    public static final String STATISTICS_SCAN_LICENSE_COUNT = MOBILE_API_DOMAIN + "/setScanXszCount";
    //    检查行驶证识别接口
    public static final String CHECK_LICENSE_AVAILABLE = MOBILE_API_DOMAIN + "/checkScanXszCount";
    //    检查版本更新
    public static final String CHECK_VERSION = MOBILE_API_DOMAIN + "/getAppVersionInfo";
    //    public static final String CHECK_VERSION = "http://10.0.10.51:8080/apk_file/check_update.json";
//    检查电话号码是否重复
    public static final String Repeat = MOBILE_API_DOMAIN + "/repeat";
    public static  final  String Forgot = MOBILE_API_DOMAIN +"/forgot";
    //修改性别
    public static  final  String Profile = MOBILE_API_DOMAIN +"/profile";
    // 车牌识别接口
    public static final String getPlateForImg = MOBILE_API_DOMAIN + "/getPlateForImg";
    // VIN识别接口
    public static final String getVinForImg = MOBILE_API_DOMAIN + "/getVinForImg";
    // VIN识别接口
    public static final String getVinForText = MOBILE_API_DOMAIN + "/getVinForText";

}
